package com.ry.bhwktapp.home.ui

class OutQianTao {

    var age: Int =0
    fun outGet(){
        val inerQTA = InerQTA()
        inerQTA.diaoyong()
    }

    class InerQTA(){
        var name:String ="张三"
        fun diaoyong() {
            val inerQTB = InerQTB()
            inerQTB.height
            println("QQQQ"+inerQTB.height)
            inerQTB.kid()
        }
    }

    class InerQTB(){
        var height:Int =100
        fun kid(){
            println("你有几个孩子啊？")
        }
    }

}
fun main() {
    val four = MeiJu.Four
    four.name


    var runnable = object : Runnable {
        override fun run() {
            println("")
        }
    }
    var runnable2= Runnable {
        println("runssds")
    }

    Thread(runnable).start()
    Thread(runnable2).start()

    val field = DemoManager.field
    DemoManager.method()

}

object DemoManager{
     var field: Int = 55

    fun method(){
        println("这是方法！！！")
    }

}